package com.xiaoma.registrar;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import org.springframework.context.annotation.Import;

/**
 * 要配合@Configuration一起使用
 * @author maj
 * @ClassName MyServiceScan
 * @Description
 * @date 2020-09-26 17:20
 */
@Import(MyAutoConfiguredMyBatisRegistrar.class)
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyServiceScan {
  String basePackage() default "null";

}
